markRead
suspend fun markRead(to: JsonAddress, timestamps: Collection<Long>, when: Long = Clock.System.now().toEpochMilliseconds())
Content copied to clipboard
Marks the given messages (represented as timestamps) as read. Note that messages are identified using their timestamps.
Parameters
to
The address that sent the messages that will be marked as read.
timestamps
The timestamps of the messages we want to mark as read.
when
The timestamp to use for when we mark as read. Defaults to the current system clock's timestamp.
Throws
if signald sends an error response or the incoming message is invalid
if the request to the socket fails